Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  List  Shadow  Copy  Settings  

 Content of List Shadow Copy Settings.vbs
MD5 Hash: 2D84692E4DE804CE372BFF7F4920B313
' Description: Retrieves the shadow copy settings configured on a computer.


strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_ShadowContext")

For Each objItem in colItems
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Client accessible: " & objItem.ClientAccessible
Wscript.Echo "Differential: " & objItem.Differential
Wscript.Echo "Exposed locally: " & objItem.ExposedLocally
Wscript.Echo "Exposed remotely: " & objItem.ExposedRemotely
Wscript.Echo "Hardware assisted: " & objItem.HardwareAssisted
Wscript.Echo "Imported: " & objItem.Imported
Wscript.Echo "No auto release: " & objItem.NoAutoRelease
Wscript.Echo "Not surfaced: " & objItem.NotSurfaced
Wscript.Echo "No writers: " & objItem.NoWriters
Wscript.Echo "Persistent: " & objItem.Persistent
Wscript.Echo "Plex: " & objItem.Plex
Wscript.Echo "Transportable: " & objItem.Transportable
Wscript.Echo
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a